using System.Collections.Generic;

namespace ERP_SaaS_WinForm.生产计划_派单_车间.BOM
{
    /// <summary>
    /// 测试BOM数据生成器
    /// </summary>
    public static class TestBOMData
    {
        /// <summary>
        /// 生成测试BOM数据
        /// </summary>
        /// <returns>测试BOM数据列表</returns>
        public static List<BOMData> GenerateTestData()
        {
            var testData = new List<BOMData>();
            
            // 木杆棉签的物料
            testData.Add(new BOMData
            {
                bomCode = "BOM003",
                bomVertion = "1.1",
                materialCode = "WLBH0005",
                materialName = "木杆",
                productName = "木杆棉签",
                specification = "10*10",
                unitName = "包"
            });
            
            testData.Add(new BOMData
            {
                bomCode = "BOM003",
                bomVertion = "1.1",
                materialCode = "WLBH0001",
                materialName = "脱脂棉",
                productName = "木杆棉签",
                specification = "10*10",
                unitName = "包"
            });
            
            testData.Add(new BOMData
            {
                bomCode = "BOM003",
                bomVertion = "1.1",
                materialCode = "WLBH0004",
                materialName = "粘合剂",
                productName = "木杆棉签",
                specification = "10*10",
                unitName = "包"
            });
            
            // 塑料棉签的物料
            testData.Add(new BOMData
            {
                bomCode = "BOM001",
                bomVertion = "1.1",
                materialCode = "WLBH0001",
                materialName = "脱脂棉",
                productName = "塑料棉签",
                specification = "10*10",
                unitName = "包"
            });
            
            testData.Add(new BOMData
            {
                bomCode = "BOM001",
                bomVertion = "1.1",
                materialCode = "WLBH0002",
                materialName = "PP塑料杆",
                productName = "塑料棉签",
                specification = "10*10",
                unitName = "包"
            });
            
            testData.Add(new BOMData
            {
                bomCode = "BOM001",
                bomVertion = "1.1",
                materialCode = "WLBH0004",
                materialName = "粘合剂",
                productName = "塑料棉签",
                specification = "10*10",
                unitName = "包"
            });
            
            // 纸杆棉签的物料
            testData.Add(new BOMData
            {
                bomCode = "BOM002",
                bomVertion = "1.1",
                materialCode = "WLBH0001",
                materialName = "脱脂棉",
                productName = "纸杆棉签",
                specification = "10*10",
                unitName = "包"
            });
            
            testData.Add(new BOMData
            {
                bomCode = "BOM002",
                bomVertion = "1.1",
                materialCode = "WLBH0004",
                materialName = "粘合剂",
                productName = "纸杆棉签",
                specification = "10*10",
                unitName = "包"
            });
            
            return testData;
        }
    }
} 